/*
 * Copyright (c) 2015 www.smarthome.com All rights reserved.
 * 本软件源代码版权归----所有,未经许可不得任意复制与传播.
 */
package com.smarthome.domain.bean;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.smarthome.domain.bean.base.BaseDomain;

/**
 * shPropertyCompany
 * 
 * @author KongXiangyu
 * @since 2015-09-07
 */
public class ShPropertyCompany extends BaseDomain {
	private static final long serialVersionUID = 1L;
	private String name;
	private String code;
	private String contactPerson;
	private String mobile;
	private String tel;
	private String casePerson;
	private String casePersonMobile;
	private String address;
	private Date gmtCreate;
	private Date gmtModify;
	private String remark; //add by dhc  2015.10.28
	private Integer active;

	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date startGmtCreate;
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date endGmtCreate;
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date startGmtModify;
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date endGmtModify;

	private Long residenceId;
	
	public ShPropertyCompany() {
		// 默认无参构造方法
	}

	/**
	 * 获取 name
	 * 
	 * @return
	 */
	public String getName() {
		return name;
	}

	/**
	 * 设置 name
	 * 
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * 获取 contactPerson
	 * 
	 * @return
	 */
	public String getContactPerson() {
		return contactPerson;
	}

	/**
	 * 设置 contactPerson
	 * 
	 * @param contactPerson
	 */
	public void setContactPerson(String contactPerson) {
		this.contactPerson = contactPerson;
	}

	/**
	 * 获取 mobile
	 * 
	 * @return
	 */
	public String getMobile() {
		return mobile;
	}

	/**
	 * 设置 mobile
	 * 
	 * @param mobile
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	/**
	 * 获取 tel
	 * 
	 * @return
	 */
	public String getTel() {
		return tel;
	}

	/**
	 * 设置 tel
	 * 
	 * @param tel
	 */
	public void setTel(String tel) {
		this.tel = tel;
	}

	/**
	 * 获取 casePerson
	 * 
	 * @return
	 */
	public String getCasePerson() {
		return casePerson;
	}

	/**
	 * 设置 casePerson
	 * 
	 * @param casePerson
	 */
	public void setCasePerson(String casePerson) {
		this.casePerson = casePerson;
	}

	/**
	 * 获取 casePersonMobile
	 * 
	 * @return
	 */
	public String getCasePersonMobile() {
		return casePersonMobile;
	}

	/**
	 * 设置 casePersonMobile
	 * 
	 * @param casePersonMobile
	 */
	public void setCasePersonMobile(String casePersonMobile) {
		this.casePersonMobile = casePersonMobile;
	}

	/**
	 * 获取 address
	 * 
	 * @return
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * 设置 address
	 * 
	 * @param address
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	/**
	 * 获取 gmtCreate
	 * 
	 * @return
	 */
	public Date getGmtCreate() {
		return gmtCreate;
	}

	/**
	 * 设置 gmtCreate
	 * 
	 * @param gmtCreate
	 */
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	/**
	 * 获取 gmtModify
	 * 
	 * @return
	 */
	public Date getGmtModify() {
		return gmtModify;
	}

	/**
	 * @return the active
	 */
	public Integer getActive() {
		return active;
	}
	
	/**
	 * @param active the active to set
	 */
	public void setActive(Integer active) {
		this.active = active;
	}
	
	
	
	/**
	 * 设置 gmtModify
	 * 
	 * @param gmtModify
	 */
	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}

	public Date getStartGmtCreate() {
		return startGmtCreate;
	}

	public void setStartGmtCreate(Date startGmtCreate) {
		this.startGmtCreate = startGmtCreate;
	}

	public Date getEndGmtCreate() {
		return endGmtCreate;
	}

	public void setEndGmtCreate(Date endGmtCreate) {
		this.endGmtCreate = endGmtCreate;
	}

	public Date getStartGmtModify() {
		return startGmtModify;
	}

	public void setStartGmtModify(Date startGmtModify) {
		this.startGmtModify = startGmtModify;
	}

	public Date getEndGmtModify() {
		return endGmtModify;
	}

	public void setEndGmtModify(Date endGmtModify) {
		this.endGmtModify = endGmtModify;
	}

	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	
	public Long getResidenceId() {
		return residenceId;
	}
	
	public void setResidenceId(Long residenceId) {
		this.residenceId = residenceId;
	}
	
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
}